package net.zjitc.service;

import net.zjitc.common.Msg;
import net.zjitc.common.ServiceResponse;
import net.zjitc.pojo.User;

import java.util.List;

/**
 * @Author admin
 * @Date 2019/4/24 14:13
 */
public interface UserService  {

    void register(User user);

    Msg checkEmail(User user);

    Msg checkUsername(User user);

    User findByName(String username);

}
